const lock_field = {
    "addDisplay": false,
    "addDisabled": false,
    "editDisplay": false,
    "editDisabled": true,
    "showColumn": false,
};
export const tableOption = {
    "border": true,
    "index": true,
    "indexLabel": "序号",
    "stripe": true,
    "menuAlign": "center",
    "align": "center",
    "searchMenuSpan": 6,
    "column": [{
        ...lock_field,
        "type": "input",
        "label": "编号",
        "prop": "yanjiuId",
    }, {
        ...lock_field,
        "type": "input",
        "label": "学籍号",
        "prop": "yanjiuStudent",
    }, {
        ...lock_field,
        "type": "input",
        "label": "学期编号",
        "prop": "yanjiuTerm",
        "hide": true,
    }, {
        "type": "input",
        "label": "课题类型",
        "prop": "yanjiuTopicType",
        rules: [{ required: true, message: "必填内容，不能为空", trigger: "blur" }],
    }, {
        "type": "input",
        "label": "课题名称",
        "prop": "yanjiuTopicName",
        rules: [{ required: true, message: "必填内容，不能为空", trigger: "blur" }],
    }, {
        "type": "input",
        "label": "成果概述",
        "prop": "yanjiuPrize",
        rules: [{ required: true, message: "必填内容，不能为空", trigger: "blur" }],
    }, {
        "type": "input",
        "label": "成果呈现形式",
        "prop": "yanjiuPrizeMethod",
        rules: [{ required: true, message: "必填内容，不能为空", trigger: "blur" }],
        span: 8
    }, {
        "type": "input",
        "label": "指导老师",
        "prop": "yanjiuInstructor",
        rules: [{ required: true, message: "必填内容，不能为空", trigger: "blur" }],
        span: 8
    }, {
        "type": "input",
        "label": "内容摘要",
        "prop": "yanjiuAbstract",
        rules: [{ required: true, message: "必填内容，不能为空", trigger: "blur" }],
    }, {
        "type": "zp-date",
        "label": "开始日期",
        "prop": "yanjiuDate",
        rules: [{ required: true, message: "必填内容，不能为空", trigger: "blur" }],
    }, {
        "type": "input",
        "label": "担任组长或成员",
        "prop": "yanjiuMyJob",
        rules: [{ required: true, message: "必填内容，不能为空", trigger: "blur" }],
        span: 8
    }, {
        "type": "input",
        "label": "承担任务",
        "prop": "yanjiuMyTask",
        rules: [{ required: true, message: "必填内容，不能为空", trigger: "blur" }],
    }, {
        "type": "input",
        "label": "成绩",
        "prop": "yanjiuAchievement",
        rules: [{ required: true, message: "必填内容，不能为空", trigger: "blur" }],
        span: 8
    }, {
        "type": "input",
        "label": "学分",
        "prop": "yanjiuCredit",
        span: 8
    }, {
        ...lock_field,
        "type": "input",
        "label": "创建人",
        "prop": "yanjiuCreateUser",
    }, {
        ...lock_field,
        "type": "input",
        "label": "",
        "prop": "yanjiuCreateTime",
    }, {
        ...lock_field,
        "type": "input",
        "label": "审核人",
        "prop": "yanjiuApproveUser",
    }, {
        ...lock_field,
        "type": "input",
        "label": "",
        "prop": "yanjiuApproveTime",
    }],
    group: [{
        label: "附件",
        column: [{
            "type": "upload",
            "label": "附件",
            "prop": "attachment",
            "action": "/szpj/file/zp_yan_jiu/upload",
            "multiple": true,
        }],
    }],

}